import Vue from 'vue'
import VueRouter from 'vue-router'
import Login from '@/components/login.vue'
import Qc from '@/components/qc.vue'
Vue.use(VueRouter)

const routes = [
 
  {
    path:"/",
    redirect:'qc'
  },
  {
    path:'/login',
    component:Login,
    name:'login'
  },
  {
    path:'/qc',
    component:Qc,
  }
]

const router = new VueRouter({
  routes
})

export default router
